// 统一参数
export const UA = (bodyArgs, extraArgs, bodyKey) => {
  return JSON.stringify(Object.assign({}, {trace: {
    requestId: getRequestId()
  }, [bodyKey || 'info']: bodyArgs}, extraArgs));
}

export const getRequestId = () => Math.round(Math.random() * 1000000000000);